﻿using CommonAdmin.Dto;
using CommonAdmin.Util;
using Microsoft.AspNetCore.Mvc;
using SqlSugar;

namespace CommonAdmin.Web.Controllers
{
    public class UserController : BaseController
    {
		public UserController(ILogger<UserController> logger, ISqlSugarClient db) : base(logger, db) { }

		public IActionResult Index()
        {
            return View();
        }
		public IActionResult Info()
		{
			ViewBag.User = base.GetCurrentUser();
			return View();
		}
		public IActionResult Password()
		{
			ViewBag.User = base.GetCurrentUser();
			return View();
		}
	}
}
